package com.fenghongzhang.kotlin1903.room

import androidx.room.*

@Dao
interface UserDao {
    @Insert
    fun insertUser(user:User)

    @Update
    fun updateUser(user:User)

    @Delete
    fun deleteUser(user:User)

    @Query("select * from User")
    fun selectAll():List<User>
}